package com.foreverwin.mes.lims.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.core.base.FrontPage;
import com.foreverwin.mes.lims.model.DefeRecodesOfWorkInProc;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mark
 * @since 2020-02-17
 */
public interface DefeRecodesOfWorkInProcService extends IService<DefeRecodesOfWorkInProc> {

    /**
     *  分页查询
     * @param frontPage
     * @return
     */
    Page<DefeRecodesOfWorkInProc> selectPage(FrontPage<DefeRecodesOfWorkInProc> frontPage, DefeRecodesOfWorkInProc defeRecodesOfWorkInProc);

    List<DefeRecodesOfWorkInProc> selectList(DefeRecodesOfWorkInProc defeRecodesOfWorkInProc);

    List<DefeRecodesOfWorkInProc> getResourceAndOperation(DefeRecodesOfWorkInProc defeRecodesOfWorkInProc);

    DefeRecodesOfWorkInProc selectByHandle(String handle);
}